package com.hxzy.vo;

import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 组装前端bootstrap-table插件
 */
public class BootstrapTableVO {
    private long  total;
    private List rows;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public BootstrapTableVO(){

    }

    public BootstrapTableVO(PageInfo pageInfo){
        this.rows=pageInfo.getList();
        this.total=pageInfo.getTotal();
    }
}
